﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Principal;

namespace Heritage.Identity
{
    public class CustomPrincipal : IPrincipal 
    {
        CustomIdentity id = null;

        public CustomPrincipal(CustomIdentity id)
        {
            this.id = id;
        }

        #region IPrincipal Members

        public IIdentity Identity
        {
            get { return id; }
        }

        public bool IsInRole(string role)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}